package com.originskyseed.platform.common.api.config;

import java.io.Serializable;

import com.originskyseed.platform.core.config.annotation.Config;

/**
 * 登录配置
 * 
 * @author LiangMingHui
 *
 */
@Config(fileName = "/admin/login.properties")
public class LoginConfig implements Serializable {

	private static final long serialVersionUID = -4143083828778756076L;

	/**
	 * 最大登录间隔时间
	 */
	private Integer maxLoginIntervalDate;

	/**
	 * 最大修改密码间隔时间
	 */
	private Integer maxUpdatePasswordDate;

	/**
	 * 是否验证验证码
	 */
	private Integer isVerificationCode;

	/**
	 * 通用验证码
	 */
	private String universalVerificationCode;

	/**
	 * 首页缓存失效时间（分钟为单位）
	 */
	private Integer cacheInvalidTime;

	public Integer getMaxLoginIntervalDate() {
		return maxLoginIntervalDate;
	}

	public void setMaxLoginIntervalDate(Integer maxLoginIntervalDate) {
		this.maxLoginIntervalDate = maxLoginIntervalDate;
	}

	public Integer getMaxUpdatePasswordDate() {
		return maxUpdatePasswordDate;
	}

	public void setMaxUpdatePasswordDate(Integer maxUpdatePasswordDate) {
		this.maxUpdatePasswordDate = maxUpdatePasswordDate;
	}

	public Integer getIsVerificationCode() {
		return isVerificationCode;
	}

	public void setIsVerificationCode(Integer isVerificationCode) {
		this.isVerificationCode = isVerificationCode;
	}

	public String getUniversalVerificationCode() {
		return universalVerificationCode;
	}

	public void setUniversalVerificationCode(String universalVerificationCode) {
		this.universalVerificationCode = universalVerificationCode;
	}

	public Integer getCacheInvalidTime() {
		return cacheInvalidTime;
	}

	public void setCacheInvalidTime(Integer cacheInvalidTime) {
		this.cacheInvalidTime = cacheInvalidTime;
	}
}
